import request from '@/utils/request'

export function get() {
  return request({
    url: '/report/groupAchievement',
    method: 'get'
  })
}

export function update(data) {
  return request({
    url: 'api/genConfig',
    data,
    method: 'put'
  })
}

// 导出（查询）
export function exportGroup(params) {
  return request({
    url: 'report/exportGroupHSSFWorkbook',
    method: 'get',
    responseType: 'blob',
    params: params
  })
}
